ostbuild: make pull-components work
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 May 2012 02:40:03 +0000 (22:40 -0400)
committerColin Walters <walters@verbum.org>
Sun, 6 May 2012 18:09:28 +0000 (14:09 -0400)
commit2ca6f0426520a928b1d59c96153141d9bfd34681
tree6a1f03869b50ab16be600ca3a97a23a7cf37b658
parentae0b4ac6284d73cac57a78c1bb456e140c37ba81
ostbuild: make pull-components work

This builtin did not work for me. It did not initialize self.repo,
it used the nonexisting parse_active_branch function unconditionally,
and it did not actually find the list of components in contents.json.

This commit fixes all three of these issues.
src/ostbuild/pyostbuild/builtin_pull_components.py